package org.example.model.messagequeue;

import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author huangy
 * @description 战斗
 * @since 2022/11/10 14:49
 **/
@Data
public class Combat {

    private long id;

    /**
     * 战斗时间
     */
    private LocalDateTime time;

    /**
     * 房间信息
     */
    private Room room;

    /**
     * 战斗指令
     */
    private String command;

    @Override
    public String toString() {
        return "Combat{" +
                "id=" + id +
                ", time=" + time +
                ", room=" + room +
                ", command='" + command + '\'' +
                '}';
    }
}
